@echo off

:: Set the paths and locations
set baseDir=C:\Documents and Settings\ajesler\Code\HonoursProject\cilada\v3\CILADA
set testAssem="%baseDir%\Test\Assemblies\AntiPatternTest.dll"
set ciladaEngine="%baseDir%\CILADA\bin\Debug\CILADA.Core.dll"
set ciladaCommandLine="%baseDir%\CILADA.CommandLine\bin\Debug\CILADA.exe"
set resultsDir="%baseDir%\Test\results"

:: create the results directory if it doesnt exist
if not exist %resultsDir% mkdir %resultsDir%

:: run the ananlysis on the selected assemblies
%ciladaCommandLine% -o %resultsDir% -n "Testing.CILADA.v3.AntiPatternTest.ClassesOnly" %testAssem% -c
%ciladaCommandLine% -o %resultsDir% -n "Testing.CILADA.v3.AntiPatternTest.Detailed" %testAssem%

